#ifndef _RTT_DRV_UART_H_
#define _RTT_DRV_UART_H_

//#include "usart.h"
#include "board.h"
#include <rtdevice.h>
#include <rthw.h>
#include <rtthread.h>

/* STM32 uart driver */
struct drv_uart
{
    rt_uint32_t periph;
    IRQn_Type irq;
};

void uart_init(rt_uint32_t uartx,rt_uint32_t baudval);

#endif
